#!/bin/bash
set -e
for (( i = 0; i < 10; i++ )); do
    val=$((RANDOM%3000+1))
    curl --request GET -sL \
         --url 'localhost:8703/main.php?val='$val
done